package IO;

/**
 * Created by:
 * User: Igor Martynovich and Guzenko Igor
 * Date: 15.11.13
 */
public class Parser {
    public static int[] parseInts(String[] arrayToParse){
        int[] parsedArr = new int[arrayToParse.length];
        int index=0;
        for(String numberString:arrayToParse){
           int number = Integer.parseInt(numberString);
           parsedArr[index]=number;
           index++;
        }
        return parsedArr;
    }
}
